package org.dlsu.mt.parser.generation;

public class PotentialWord extends ListElement
{
	private String POS;
	private String word;
	
	public PotentialWord(String POS, String word)
	{
		this.POS = POS;
		this.word = word;
	}
	
	public PotentialWord(String word)
	{
		this.word = word;
		POS = null;
	}
	
	public String getPOS()
	{
		return POS;
	}
	
	public String getWord()
	{
		return word;
	}
	
	public String toString()
	{
		StringBuffer temp = new StringBuffer();
		temp.append("w(" + POS + ", " + word + ")");
		return temp.toString();
	}
}